package com.lovebaby.lcy.web;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("login")
public class LoginController {

    @RequestMapping(value = "checkUserName",method = RequestMethod.GET)
    @ResponseBody
    public boolean checkUserName(String userName){
        System.out.println("进来了");
        return userName.equals("lcy");
    }
}
